<!--{tpl header}-->
<div class="main layout layout-16">
    <!--{tpl crumb}-->
    <!--{if $cats[$cats[$id]['topId']]['hasChile']}-->
    <div class="sub-cat block">
        <div class="sub-cat-name">类目：</div>
        <ul class="sub-cat-items">
        <!--{loop $cats[$cats[$id]['topId']]['chile'] $chileId}-->
        <!--{if $cats[$chileId]['cat_parent_id'] == $cats[$id]['topId']}-->
            <li class="sub-cat-item {if $id == $cats[$chileId]['cat_id']}current{/if}"><a href="{$cats[$chileId]['cat_url']}"><span>{$cats[$chileId]['cat_name']}</span></a></li>
        <!--{/if}-->
        <!--{/loop}-->
        </ul>
    </div>
    <!--{/if}-->
    <div class="list-content">
    <!--{loop $list $item}-->
        <div class="list-item">
            <div class="digg">
                <div id="digg-up-{$item['info_id']}" class="up">{$item['info_digg_up']}</div>
                <div id="digg-down-{$item['info_id']}" class="down">{$item['info_digg_up']}</div>
            </div>
            <!--{if !$item['info_cover']}-->
            <div class="list-item-title"><a href="{$item['item_url']}" target="_blank">{$item['info_title']}</a></div>
            <div class="list-item-desc">{$item['info_desc']}</div>
            <!--{else}-->
            <div class="list-item-width-icon">
                <div class="list-item-title"><a href="{$item['item_url']}" target="_blank">{$item['info_title']}</a></div>
                <div class="list-item-desc">{$item['info_desc']}</div>
            </div>
            <div class="list-item-icon"><a href="{$item['item_url']}" target="_blank"><img align="right" src="{thumb($item['info_cover'])}" /></a></div>
            <!--{/if}-->
            <div class="list-item-bar">
                <span class="ist-item-views">浏览：{$item['info_views']}</span>
                <span class="list-item-date">时间：{date('Y-m-d H:i:s', $item['info_dateline'])}</span>
                <span class="list-item-author">作者：{$item['info_author']}</span>
            </div>
        </div>
    <!--{/loop}-->
        <div>{$paging}</div>
    </div>
</div>
<div class="side layout layout-8 layout-fixed">
    <!--{tpl info/side-recommend}-->
</div>
<!--{tpl footer}-->